<?php
use doumiaoduo\layer\LayerConfirmWidget;
use doumiaoduo\layer\LayerIframeWidget;
LayerConfirmWidget::widget();
LayerIframeWidget::widget();
?>
<div class="yx-praise-list-box yx-praise-box yx-radius2 zx-min-height">
    <!--/*添加按钮*/-->
    <?= $this->renderFile('@app/views/layouts/toolbar.php'); ?>
    <!--/*表*/-->
    <div class="docs-main zx-mg">
        <table id="tablesaw" class="tablesaw table yx-table1 yx-table3 table-striped with-check"  data-tablesaw-mode="swipe" data-tablesaw-minimap >
            <thead>
            <tr class="yx-bgd2f6ec">
                <th><?=\Yii::t('zhtfrontend','配置编号');?></th>
                <th><?=\Yii::t('zhtfrontend','配置名称');?></th>
                <th><?=\Yii::t('zhtfrontend','所属分店');?></th>
                <th><?=\Yii::t('zhtfrontend','积分标题');?></th>
                <th><?=\Yii::t('zhtfrontend','公式');?></th>
                <th><?=\Yii::t('zhtfrontend','模板');?></th>
                <th><?=\Yii::t('zhtfrontend','操作员');?></th>
                <th><?=\Yii::t('zhtfrontend','操作');?></th>
            </tr>
            </thead>
            <?php if($data):?>
                <?php foreach($data as $item):?>
                    <tr data-id="<?=$item['id']?>">
                        <td><?=$item['config_id']?></td>
                        <td><?=$item['config_name']?></td>
                        <td><?=$item['site_id']?></td>
                        <td><?=$item['name']?></td>
                        <td><?=$item['formula']?></td>
                        <td><?=$item['template']?></td>
                        <td><?=$item['admin']?></td>
                        <td><?=$item['zhtfrontend_operate']?></td>
                    </tr>
                <?php endforeach;?>
            <?php endif;?>
        </table>

    </div>
</div>












